<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<!-- 头部开始 -->
<head>
	<meta charset="utf-8" />
	<title>{$seo_title}</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="{$seo_description}" name="description" />
	<meta content="{$author}" name="author" />
	<meta name="MobileOptimized" content="320">
	<!-- 全局样式开始 -->       
	<link href="{$Think.const.JS_URL}assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
	<!-- 全局样式结束 -->
	<!-- 皮肤样式开始 --> 
	<link href="{$Think.const.JS_URL}assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/css/plugins.css" rel="stylesheet" type="text/css"/>
	<link href="{$Think.const.JS_URL}assets/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
	<link href="{$Think.const.JS_URL}assets/css/custom.css" rel="stylesheet" type="text/css"/>
	<!-- 皮肤样式结束 -->
	<link href="{$Think.const.CSS_URL}style.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- 头部结束 -->

<!-- 主体开始 -->
<body class="page-header-fixed">
	<!-- BEGIN HEADER -->   
	<div class="header navbar navbar-inverse navbar-fixed-top">
		<!-- BEGIN TOP NAVIGATION BAR -->
		<div class="header-inner">
			<!-- BEGIN LOGO -->  
			<a class="navbar-brand" href="{:U('Index/index')}">
				<img src="{$Think.const.IMG_URL}logo-small.png" alt="logo" class="img-responsive" />
			</a>
			<!-- END LOGO -->
			<!-- BEGIN RESPONSIVE MENU TOGGLER --> 
			<a href="javascript:;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
				<img src="{$Think.const.JS_URL}assets/img/menu-toggler.png" alt="" />
			</a> 
			<!-- END RESPONSIVE MENU TOGGLER -->
			<!-- BEGIN TOP NAVIGATION MENU -->
			<ul class="nav navbar-nav pull-right">
				<!-- BEGIN USER LOGIN DROPDOWN -->
				<li class="dropdown user">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<img alt="" src="{$Think.const.JS_URL}assets/img/avatar1_small.jpg"/>
					<span class="username">{:session('user_auth.uname')}</span>
					<i class="fa fa-angle-down"></i>
					</a>
					<ul class="dropdown-menu">
						<li><a href="{:U('Index/profile')}"><i class="fa fa-user"></i> {$Think.lang.text_profile_set}</a></li>
						<li class="divider"></li>
						<li><a href="javascript:;" id="trigger_fullscreen"><i class="fa fa-move"></i> {$Think.lang.text_fullscreen}</a></li>
						<li><a href="{:U('Index/lock')}"><i class="fa fa-lock"></i> {$Think.lang.text_lockscreen}</a></li>
						<li><a href="{:U('Public/logout')}"><i class="fa fa-key"></i> {$Think.lang.button_quit}</a></li>
					</ul>
				</li>
				<!-- END USER LOGIN DROPDOWN -->
			</ul>
			<!-- END TOP NAVIGATION MENU -->
		</div>
		<!-- END TOP NAVIGATION BAR -->
	</div>
	<!-- END HEADER -->
	<div class="clearfix"></div>
	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar navbar-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->
			<ul class="page-sidebar-menu">
				<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>
				<li>
					<!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->
					<form class="sidebar-search" action="{:U('globalSearch')}" method="POST">
						<div class="form-container">
							<div class="input-box">
								<a href="javascript:;" class="remove"></a>
								<input type="text" name="" placeholder="Search..." value="" />
								<input type="submit" class="submit" value=" "/>
							</div>
						</div>
					</form>
					<!-- END RESPONSIVE QUICK SEARCH FORM -->
				</li>
				<!-- <volist name="__MENU__" id="menu" key="k"> -->
					<li <if condition="($k eq 1) && isset($menu['current'])">class="start active"<elseif condition="$k eq 1" />class="start"</if><if condition="isset($menu['current'])"> {$menu['current']}</if>>
						<!-- <if condition="isset($menu['child'])"> -->
							<a href="javascript:;">
								<if condition="$k eq 1"><i class="fa fa-home"></i>
								<elseif condition="$k eq 2" /><i class="fa fa-table"></i>
								<elseif condition="$k eq 3" /><i class="fa fa-user"></i>
								<else /><i class="fa fa-cogs"></i></if> 
								<span class="title">{$menu['title']}</span>
								<if condition="isset($menu['current'])"><span class="selected"></span></if>
								<span class="arrow "></span>
							</a>
							<ul class="sub-menu">
								<!-- <volist name="menu['child']" id="child"> -->
									<li <if condition="isset($child['current'])">{$child['current']}</if>>
										<a href="{:U($child['url'])}">{$child['title']}</a>
									</li>
								<!-- </volist> -->
							</ul>
						<!-- <else /> -->
							<a href="{:U($menu['url'])}">
							<if condition="$k eq 1"><i class="fa fa-home"></i>
							<elseif condition="$k eq 2" /><i class="fa fa-table"></i>
							<elseif condition="$k eq 3" /><i class="fa fa-user"></i>
							<else /><i class="fa fa-cogs"></i></if> 
							<span class="title">{$menu['title']}</span>
							<if condition="isset($menu['current'])"><span class="selected"></span></if>
							</a>
						<!-- </if> -->
					</li>
				<!-- </volist> -->
			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
		<!-- END SIDEBAR -->
